<template>
  <div>
    <div class="dow-box-one">
      <div class="pc-dow">
        <p class="title">在电脑上听</p>
        <img src="./../../assets/imges/macDow.png" class="dow-img" alt="" />
        <ul class="dow-box">
          <li class="app-store-dow"></li>
          <li class="windows-dow phone-dow-icon"><span></span>Windows</li>
        </ul>
        <a
          download
          href="https://music.163.com/api/pc/download/latest"
          class="dow-btn"
          >下载电脑端</a
        >
      </div>
      <div class="phone-dow">
        <p class="title">在手机上听</p>
        <img src="./../../assets/imges/phoneDow.png" class="dow-img" alt="" />
        <ul class="dow-box">
          <li class="app-store-dow"></li>
          <li class="android-dow phone-dow-icon"><span></span>Android</li>
        </ul>
        <div class="dow-btn" @click="isshow = !isshow">下载手机端</div>
        <div class="dow-qr-code-box" v-show="isshow">
          <img src="./../../assets/imges/dow-qr-code.png" alt="" />
          <p class="txt">扫描二维码下载</p>
          <div class="dow-arrow"></div>
        </div>
      </div>
    </div>
    <div class="dow-box-two">
      <div class="content-box">
        <div class="dow-box-two-left">
          <p class="describe-one">千万曲库 首首CD音质</p>
          <p class="describe-two">囊括百万无损SQ音乐，你在用手机听歌时，</p>
          <p class="describe-two">
            也能感受到纤毫毕现的CD音质，更能免费离线收听
          </p>
        </div>
        <img src="./../../assets/imges/dowimgTwo.png" alt="" />
      </div>
    </div>
    <div class="dow-box-three">
      <div class="content-box">
        <img src="./../../assets/imges/dowimgThree.png" alt="" />
        <div class="dow-box-two-left">
          <p class="describe-one">千位明星 亲自推荐音乐</p>
          <p class="describe-two">
            韩红，戴佩妮等千位明星已入驻，亲自创建私房歌单，录制独
          </p>
          <p class="describe-two">家DJ节目，推荐他们心中的好音乐</p>
        </div>
      </div>
    </div>
    <div class="dow-box-two">
      <div class="content-box">
        <div class="dow-box-two-left">
          <p class="describe-one">社交关系 发现全新音乐</p>
          <p class="describe-two">
            你可以关注明星、DJ和好友，通过浏览他们的动态、收藏和
          </p>
          <p class="describe-two">分享，发现更多全新好音乐</p>
        </div>
        <img src="./../../assets/imges/dow-img-four.png" alt="" />
      </div>
    </div>
    <div class="dow-box-three">
      <div class="content-box">
        <img src="./../../assets/imges/dow-img-five.png" alt="" />
        <div class="dow-box-two-left">
          <p class="describe-one">手机电脑 歌单实时同步</p>
          <p class="describe-two">
            只要一个帐号，你就可以同步在手机、电脑上创建、收藏
          </p>
          <p class="describe-two">的歌单，随时随地畅享好音乐</p>
        </div>
      </div>
    </div>
    <div class="dow-box-two">
      <div class="content-box">
        <div class="dow-box-two-left">
          <p class="describe-one">听歌识曲 助你疯狂猜歌</p>
          <p class="describe-two">
            歌曲很动听却不知道歌名，歌名在嘴边却想不起来……
          </p>
          <p class="describe-two">用听歌识曲功能，几秒钟就知道歌名</p>
        </div>
        <img src="./../../assets/imges/dow-img-six.png" alt="" />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      isshow: false,
    };
  },
};
</script>

<style lang="scss" scoped>
.app-store-dow {
  background: url("./../../assets/imges/appStore.png") no-repeat;
  background-size: contain;
  width: 154px;
  height: 44px;
}
.title {
  font-size: 22px;
  opacity: 0.8;
  color: #ffffff;
  text-align: center;
  margin-bottom: 33px;
}
.dow-btn {
  width: 300px;
  height: 65px;
  margin: 20px auto;
  border-radius: 65px;
  background-color: #fff;
  display: inline-block;
  color: #d10000;
  font-size: 22px;
  line-height: 65px;
  text-align: center;
  cursor: pointer;
  box-sizing: content-box;
}
.phone-dow-icon {
  span {
    vertical-align: middle;
    width: 24px;
    height: 24px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 10px;
  }
  font-size: 16px;
  color: #eee;
  &::before {
    display: inline-block;
    content: "";
    height: 100%;
    vertical-align: middle;
  }
}
.dow-box-one {
  background-color: #181818;
  background-image: radial-gradient(#222, #161616);
  padding: 112px;
  text-align: center;
  .pc-dow {
    width: 556px;
    display: inline-block;
    text-align: center;
    .dow-img {
      width: 557px;
      height: 328px;
      margin: 0 auto 3px;
    }
    .dow-box {
      display: flex;
      justify-content: space-around;
      .windows-dow {
        span {
          background-image: url("./../../assets/imges/windows.png");
        }
      }
    }
  }
  .phone-dow {
    margin-left: 190px;
    display: inline-block;
    position: relative;
    width: 300px;
    text-align: center;
    .dow-img {
      width: 299px;
      height: 331px;
    }
    .dow-box {
      display: flex;
      justify-content: space-around;
      .android-dow {
        span {
          background-image: url("./../../assets/imges/AndroidDow.png");
        }
      }
    }
  }
}
.describe-one {
  font-size: 40px;
  font-weight: normal;
  padding: 45px 0 5px 0;
}
.describe-two {
  font-size: 16px;
  color: #666;
  line-height: 24px;
}
.content-box {
  padding-top: 100px;
  display: flex;
  justify-content: space-around;
  width: 982px;
  margin: 0 auto;
}
.dow-box-two {
  background: #fff;
  border-bottom: 1px solid #e3e3e3;
  height: 437px;
}
.dow-box-three {
  background: #f8f8f8;
  height: 437px;
  border-bottom: 1px solid #e3e3e3;
}
.dow-qr-code-box {
  position: absolute;
  width: 204px;
  height: 224px;
  margin-bottom: 20px;
  padding-top: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
  left: 0;
  right: 0;
  bottom: 105px;
  margin: auto;
  img {
    width: 164px;
    height: 164px;
  }
  .txt {
    margin-top: 7px;
    width: 100%;
    font-size: 14px;
    color: #333333;
    text-align: center;
  }
  .dow-arrow {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    border-width: 10px 10px 0;
    display: inline-block;
    border-style: solid;
    width: 0;
    height: 0;
    border-top-color: #fff;
    margin: auto;
  }
}
</style>